﻿@model Irandeb4.Models.Company

@{
    ViewBag.Title = "Details";
}

<h2>Ver Cliente</h2>

<fieldset>
    <legend>Datos</legend>
        <fieldset>
        <legend>Empresa</legend>
            <table> 
                <tr>
                    <td class="display-label">Nit: </td>
                    <td class="display-field">
                        @Html.DisplayFor(model => model.Nit)
                    </td>
                </tr>
                <tr>
                    <td class="display-label">Nombre: </td>
                    <td class="display-field">
                        @Html.DisplayFor(model => model.Name)
                    </td>
                </tr>
                <tr>
                    <td class="display-label">Email: </td>
                    <td class="display-field">
                        @Html.DisplayFor(model => model.Email)
                    </td>
                </tr>
                <tr>
                    <td class="display-label">Telefono: </td>
                    <td class="display-field">
                        @Html.DisplayFor(model => model.Phone)
                    </td>
                </tr>
                <tr>
                    <td class="display-label">Fax: </td>
                    <td class="display-field">
                        @Html.DisplayFor(model => model.Fax)
                    </td>
                </tr>
                <tr>
                    <td class="display-label">Direccion: </td>
                    <td class="display-field">
                        @Html.DisplayFor(model => model.Address)
                    </td>
                </tr>
                <tr>
                    <td class="display-label">Ciudad: </td>
                    <td class="display-field">
                        @Html.DisplayFor(model => model.City.Name)
                    </td>
                </tr>
            </table>     
    </fieldset>
    <br/>

    @Html.DisplayFor(model => model.Employee)
    
    <div align="right">
    <br/>
        @Html.ActionLink("Modificar", "Edit", new { id=Model.CompanyId }) |
        @Html.ActionLink("Volver", "Search")
    </div>
</fieldset>

